package com.smartEdu.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import com.smartEdu.dao.StatisticalDao;
import com.smartEdu.mapper.RongCloudMapper2;
import com.smartEdu.mapper.StatisticalMapper;
import com.smartEdu.model.HomeworkRecordModel;

@Repository("statisticalDaoImpl")
public class StatisticalDaoImpl implements StatisticalDao{

	@Autowired(required=false)
	@Qualifier("statisticalMapper")
	private StatisticalMapper statisticalMapper;
	@Override
	public void addOrUpdateHomeworkRecord(HomeworkRecordModel model) {
		// TODO Auto-generated method stub
		statisticalMapper.insertOrUpdateHomeworkRecord(model);
	}

}
